man: Fix ostree-admin-instutil subcommands
authorYosuke Matsumura <52749251+GuiltyDoggy@users.noreply.github.com>
Thu, 19 May 2022 20:54:26 +0000 (15:54 -0500)
committerYosuke Matsumura <52749251+GuiltyDoggy@users.noreply.github.com>
Thu, 19 May 2022 23:48:17 +0000 (18:48 -0500)
<term><cmdsynopsis> is not valid, causing the command to not be rendered
correctly.

Create one <variablelist> per <cmdsynopsis>. Inelegant but maintains
desired formatting.

Closes #2581

man/ostree-admin-instutil.xml

index b7e9f63550b9b5cdeed524ec2846ca69ccf743e4..88ab38ecbd0cce1b466f7248482009d0683ff42f 100644 (file)
@@ -66,18 +66,16 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
         <title>Subcommands</title>
 
         <variablelist>
+            <cmdsynopsis><command>selinux-ensure-labeled</command> <arg choice="opt">SUBPATH PREFIX</arg></cmdsynopsis>
             <varlistentry>
-                <term><cmdsynopsis><command>selinux-ensure-labeled</command> <arg choice="opt">SUBPATH PREFIX</arg></cmdsynopsis></term>
-
                 <listitem><para>
                     Ensure all files and directories are labeled according to SELinux policy of the first deployment.
                 </para></listitem>
             </varlistentry>
-
+        </variablelist>
+        <variablelist>
+            <cmdsynopsis><command>set-kargs</command> <arg choice="opt">--merge</arg> <arg choice="opt">--import-proc-cmdline</arg> <arg choice="opt">--append="NAME=VALUE"</arg> <arg choice="opt">--replace="NAME=VALUE"</arg> <arg choice="opt">MORE_APPEND_ARGS</arg></cmdsynopsis>
             <varlistentry>
-                <term><cmdsynopsis>
-<command>set-kargs</command> <arg choice="opt">--merge</arg> <arg choice="opt">--import-proc-cmdline</arg> <arg choice="opt">--append="NAME=VALUE"</arg> <arg choice="opt">--replace="NAME=VALUE"</arg> <arg choice="opt">MORE_APPEND_ARGS</arg></cmdsynopsis></term>
-
                 <listitem><para>
                     Replace the kernel arguments of the default deployment. The new arguments are based
                     on an empty list (the default), the current options (--merge), or the arguments